<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

</body>

</html>

<script>
  window.onload = function () {
    function changeObjProperty(o) {
      o.siteUrl = 'http://www.baidu.com'
      o = new Object()
      o.siteUrl = 'http://www.google.com'
    }
    let webSite = new Object()
    changeObjProperty(webSite)
    console.log(webSite.siteUrl)
  }
</script>